SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '99daa79e143a0ba162fbfd4ba7faf9372813bbfbb0a74624b9b4a5a6cac06e3c' 
  AND token = 'CAxDVgopUL3D+hd9Lk8Cfe2Q01Doe/KSH+P8S9dhTZI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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