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

Query time 0.00026

JSON explain

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