SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8fd694bcaffdb57196218caecd373643f14f3f3586c9c007383f52b23befc11' 
  AND token = '50fmLA36JOq03mqmYZyH5TtYlbGDMmvPMdzGgZNJUJ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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