SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9fa376e6a5e965012857ba60cd7f45c245018266823bd54733c013a24049bfb7' 
  AND token = 'PgGCTPjWi3ABMw6qK/iyJx2UhDMrsf7DzXXmWZJ4O5o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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