SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4940a440c54275c0d666d68e2e32ab1bc0b9d6325811a0988bd2e012a858bd1f' 
  AND token = 'T8/y4NgWo+9TpaiC5hxoZ6Vaw8GBc7xEb1mh7bHtGfQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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