SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '23b385031c5390f573ec69414408204bc63d6c29eec17dd773f4c8dbdd952d0a' 
  AND token = 'NvcuFoNi2+Z1LeNdwr64I4xPlP/6k5mh7TV35ePl4Ko=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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