SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bffdb7f43c391fc3b783cc1de2274a72e389bece6390d136eb78558d767da4bc' 
  AND token = '5g5dqqM/l0Ox7eqFfGmn5XW3Lme5fBfycw9VteD2mu4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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