SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '88aea86a808c5ca54eafd5c0ec74212953efeb5b2caf78c9e8ba6043df01b945' 
  AND token = 'vi8GTPVTIKt3StDJqrJjTW06EcX2OQ5OOmYjCHLj6cg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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