SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd918127a15edf3445667ed9fd2c029c4072774ae875676ac75cd291855497050' 
  AND token = 'StaThxd6Zd1ZtFaSFnagw24IeXVqaoyV8+DX4aF/oL0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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