SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24abbd799984db190a08aa87bdd060d72cd66551dd00682d3abbee707a5e936c' 
  AND token = 'htk58wAOogRY66KsAeEkneCxAJOFD2sIMnMVB7+0wjY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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