SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ad5fcb99de16885bce5dddcbd5a6228c70b8273f8881cab7c8862cfe2c3f8ad' 
  AND token = 'YAw+9Ji2CeLrskVoJI+mln8xZlaXHSun9wl3RD2Q0Yk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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