SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '281ba717cca2ffc695c920b505eef50cd332a1478f18072e66fcd9f390542781' 
  AND token = 'AgepuXpOvXBCF9XxILZ8ZHE8C5GXgb31e7Iy0xCfokk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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