SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '078d02712c1795514fc6329500dd0d6e9f07e78a55c972026dfcbca1c7d0343a' 
  AND token = 'VoBxEOQRENG7LWnI8Iau5R12TvGpSc6nnOh6VuZP220=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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