SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'acfcc9610eebc2c7319cad53d6979fc9112e8d3eff0be956299c2b4f1ea7bedd' 
  AND token = 'F2lmrEv4gGOOiiva3ptWvynPEZrX8OWQ4xm9hBSVyz8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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