SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bda02c86f3cf649f78bcdfcc88a69331812fe3a8731e4233d42546a9e6408df8' 
  AND token = 'cWQgysupA436uDd7ILqDo/Te36NQ5guAmuV1PYTFJVE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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