SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '505591acd4dcf616e7f773bb235d236a192279de003fe297197f6d01cde57bcf' 
  AND token = 'IIYoCaL3CpIDO/Wp3u5QcSSIEdMi+QRm20zPjk1eEKg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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