SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dcc9d8011ea6a04072438e155e9bcd8bf84c6443734d5dc803c0dbd1ba96b4a1' 
  AND token = 'p9zMyNvWieOlK72uu6NZvy102c+NyIU4RdmzvQ/YwGY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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