SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec302e12d5c93a352957a1d1022921725f778c6f50a02f70b3fca34ffaf9c6ee' 
  AND token = 'oPcEiAC6itNgppxynE793nKCCsVtTR+qxSIWICOPAQc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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