SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '640b3d197c41957615d81718b8f05a6c6d95a558dcac89186a081509ed8de3e8' 
  AND token = 'MUOtRP/nQmMSENFCOTzN3Kq/nvqEn76Ac6IAtqtEbz8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00108

JSON explain

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