SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0d17bc9594242a7c9a236033a266bdbc36dbfb6f618398283e5a08218c30da7' 
  AND token = 'pB6YrDW/UJHq+FFyIi5DBSGEtSFqH7VPXFktdheo+xE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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