SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51e837c8f2016a5c6e52a88cc7a96f470c41e72653e1d227757a56d83e5f64c8' 
  AND token = '2vP9esv1Jgn/obEuMtDIArh39xP3bSA/CE4JHshbras=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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