SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22a1a4640b5afeed1b58e5d988bed156335dbd1c95a17ec1fb2db96a286b2977' 
  AND token = 'gMgvYe0ggS3oFvjx0fyh06hf5monKyK/v+7FlTjnaoA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}