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

Query time 0.00040

JSON explain

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