SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af5af258871d9b58e7139c704ee59769945214510ead961d0a8c3a5e7bf1dbf8' 
  AND token = 'j0EXShuwsEnunctPL5iylB0GZdd3blYGjnvEg3kxwTQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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